// 用于 socket 的事件名
export const SOCKET_AUTH = 'auth'
export const SOCKET_SUB_EVENTS = 'subevents'
export const SOCKET_UNSUB_EVENTS = 'unsubevents'
export const SOCKET_SUB_EVENTS_SIMPLE = 'subeventssimple'
export const SOCKET_UNSUB_EVENTS_SIMPLE = 'unsubeventssimple'
export const SOCKET_SUB_SELECTIONS = 'subselections'
export const SOCKET_UNSUB_SELECTIONS = 'unsubselections'
export const SOCKET_EVENT_CHANGE = 'sporteventchange'
export const SOCKET_SET_ODDS = 'setodds'
export const SOCKET_BALANCE = 'wallet_balance'
export const SOCKET_ASYNC_ORDER = 'async-order'
export const SOCKET_FEED_SETTLED = 'tweetissettled'
export const SOCKET_APP_VERSION = 'APP_VERSION'
export const SOCKET_CONTEST_UP_POINTS = 'cupUp'
export const SOCKET_SUB_SLOTS_EVENTS = 'subchannels'
export const SOCKET_UNSUB_SLOTS_EVENTS = 'unsubchannels'
export const SOCKET_SLOT_LIVE_WINS = 'live_wins_realtime'
export const SOCKET_SLOT_LIVE_WINS_D = 'live_wins_daily'
export const SOCKET_SLOT_LIVE_WINS_W = 'live_wins_weekly'
export const SOCKET_SLOT_LIVE_WINS_M = 'live_wins_monthly'
export const SOCKET_SLOT_MARQUEE = 'slot_real_time_live_wins_rank'
export const SOCKET_SLOT_GAME_UPDATE = 'game_status_notify'
export const SOCKET_CASINO_LIVE_WINS_D = 'casino_live_wins_daily'
export const SOCKET_CASINO_LIVE_WINS_W = 'casnio_live_wins_weekly'
export const SOCKET_CASINO_LIVE_WINS_M = 'casino_live_wins_monthly'
export const SOCKET_CASINO_MARQUEE = 'casino_real_time_live_wins'
export const SOCKET_CASINO_GAME_UPDATE = 'casino_game_notify'
export const SOCKET_RACE_RANKING = 'race_ranking'
export const SOCKET_LIVE_BIG_WIN_SPORTS = 'sports_real_time_live_wins'

export enum SOCKET_EVENTS {
	USER_INFO = 'user_info', // 用户信息
	EXCHANGE_RATE = 'exchange_rate', // 汇率
	WALLET_BALANCE = 'wallet_balance', // 钱包余额
	PAYOUT_RANK_DAILY = 'payout_rank_daily', // 赔付日排行榜
	PAYOUT_RANK_WEEKLY = 'payout_rank_weekly', // 赔付周排行榜
	PAYOUT_RANK_MONTHLY = 'payout_rank_monthly', // 赔付月排行榜
	BET_RANK_MINE_TOP_50 = 'bet_rank_mine_top_50', // 我的投注(50笔)
	BET_RANK_ALL_TOP_50 = 'bet_rank_all_top_50', // 所有投注(50笔)
	BET_RANK_BOLD_TOP_50 = 'bet_rank_bold_top_50', // 豪客(50笔)
	WEEKLY_CONTEST = 'weekly_contest' // 豪客(50笔)
}

export type SocketMessage = {
	identifier: string
	command: SOCKET_EVENTS
	data: any
}
